# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
_game=mineclone2
pkgname="minetest-$_game"
pkgver=0.71.0
pkgrel=0
pkgdesc="Voxel-based sandbox game for Minetest"
url="https://git.minetest.land/MineClone2/MineClone2"
# riscv64 blocked by luajit -> minetest
arch="noarch !riscv64"
license="GPL-3.0-or-later"
depends="minetest-common"
source="$pkgname-$pkgver.tar.gz::https://git.minetest.land/MineClone2/MineClone2/archive/$pkgver.tar.gz"
options="!check"
builddir="$srcdir"

package() {
	mkdir -p "$pkgdir/usr/share/minetest/games"
	mv "$_game" "$pkgdir/usr/share/minetest/games/$_game"
}

sha512sums="
7a602fefa151a975ee1fa0f18db6ef46955e4fb9ef763748620ba3779b83656eb2bfa7851d5454cf843d00a464f6b494a21dd66d7c7a1a3af441d87bf14aefd5  minetest-mineclone2-0.71.0.tar.gz
"
